package com.heima.comment.interceptor;

import com.heima.utils.common.WmThreadLocalUtil;
import feign.RequestInterceptor;
import feign.RequestTemplate;

public class Fenginterceptor implements RequestInterceptor {
    @Override
    public void apply(RequestTemplate requestTemplate) {
        requestTemplate.header("userId", WmThreadLocalUtil.get()+"");
    }
}
